package com.knowswift.common.bean.issue.po;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName(autoResultMap = true)
public class MonitorRecord {
    @TableId
    private String recordId;
    private String deviceId;
    private Integer deviceStatus;
    private String moduleName;
    private String projectName;
    private String areaName;
    private String monitorObject;
    private Integer battery;
    private Integer voltage;
    private Integer electric;
    private Integer humidity;
    private Integer temperature;
    private Double latitude;
    private Double longitude;
    @JsonIgnore
    private Integer isDelete;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;
    @JsonIgnore
    private LocalDateTime updateTime;
    private  Integer auditStatus;
    private  String remark;
    private  String alarmType;

    private String serialNumber;
    private  String alarmInfo;
}
